package com.hmall.item.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hmall.common.dto.PageDTO;
import com.hmall.item.pojo.Item;
import com.hmall.item.pojo.dto.ItemDto;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;

public interface IItemService extends IService<Item> {
    PageDTO<Item> findItemsByPage(Integer page,Integer size);

    void addItem(ItemDto itemDto);
}
